package cn.dankal.basiclib.common.qiniu.upload;

import android.content.Intent;

import cn.dankal.basiclib.base.callback.DKCallBackBoolean;

/**
 * description: 上传图片
 * <p>
 * Edit by Vane
 *
 * @author fred
 * @since 2018/8/2
 */

public interface IUploadPic {

    /**
     * 检查上传相关权限
     */
    void checkPermission(DKCallBackBoolean callBack);

//    void setIvHead(ImageView imageView);

    /**
     * 代理 Activity  onActivityResult
     * <p>
     * 如果RESULT_OK  返回true，否则false
     */
    boolean onActivityResult(int requestCode, int resultCode, Intent data);
}
